﻿using ClassTableService.Enum;

namespace ClassTableService.DTO
{
    public class GenericClassDTO
    {
        /// <summary>
        /// 属性名称
        /// </summary>
        public string PropertName { get; set; }
        /// <summary>
        /// 属性类型
        /// </summary>
        public string PropertType { get; set; }
        /// <summary>
        /// 属性备注
        /// </summary>
        public string PropertRemark { get; set; }
    }


    public class CreateClassFileAndSqlDTO
    {
        /// <summary>
        /// 表名
        /// </summary>
        public string TableName { get; set; }
        /// <summary>
        /// 属性信息
        /// </summary>
        public List<GenericClassDTO> Properties { get; set; }
        /// <summary>
        /// 数据库类型
        /// </summary>
        public ServerTypeEnum ServerType { get; set; }
    }
}
